class ProcessDefController < ApplicationController

  def self.init
    pd = ProcessDefinition.create    
    nd = Node.create
  end
  
  def list
    @process_defs = ProcessDefinition.find :all
  end
 
  def nodes
    @process_def = ProcessDefinition.find_by_ID_(params[:id]);
    @nodes = @process_def.nodes;
  end
end
